Skip to content

E2E tests #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 12, 2025
Merged

E2E tests #220

merged 4 commits into from
Aug 12, 2025

Conversation

JanJakes
Copy link
Member

@JanJakes JanJakes commented Jul 28, 2025

This PR adds:

  1. A job to run WordPress E2E tests with SQLite.
  2. A job to run any other custom E2E tests, reusing the WordPress setup.
  3. An E2E test for the Query Monitor plugin.

In the future, this can serve as the basis for more E2E tests, more 3rd-party plugins, etc.

@JanJakes JanJakes force-pushed the e2e-tests branch 3 times, most recently from 765c28a to 73260cd Compare July 28, 2025 12:14
@JanJakes JanJakes force-pushed the e2e-tests branch 5 times, most recently from 81bf241 to 1215116 Compare August 7, 2025 10:00
@JanJakes JanJakes force-pushed the e2e-tests branch 4 times, most recently from c5b37e9 to 3184170 Compare August 7, 2025 15:05
@JanJakes JanJakes marked this pull request as ready for review August 8, 2025 07:17
@JanJakes JanJakes requested a review from a team August 8, 2025 07:17
globalSetup: require.resolve( '../../wordpress/tests/e2e/config/global-setup.js' ),
webServer: {
...baseConfig.webServer,
command: 'npm run env:start',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be useful to run this both with wp-env and Playground CLI. Not a blocker here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamziel Should we do that here or in the Playground repo? I guess if what you mean is using Playground CLI for any tests that we write for the SQLite repo, then it probably belongs to the SQLite repo; just making sure. I can create a ticket for that.

@JanJakes JanJakes merged commit f6666fe into develop Aug 12, 2025
14 checks passed
@JanJakes JanJakes deleted the e2e-tests branch August 12, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants